package com.ruihu.admin.module.business.tasknode.constant;

import com.ruihu.admin.common.constant.ResponseCodeConst;

/**
 * 任务返回常量
 */
public class TaskNodeResponseCodeConst extends ResponseCodeConst {

    public TaskNodeResponseCodeConst(int code, String msg) {
        super(code, msg);
    }

    public static final TaskNodeResponseCodeConst TASK_NODE_ID_NULL = new TaskNodeResponseCodeConst(15000, "任务节点ID为空");
    public static final TaskNodeResponseCodeConst TASK_NODE_NAME_EXISTS = new TaskNodeResponseCodeConst(15001, "任务节点名称已存在");
    public static final TaskNodeResponseCodeConst TASK_NODE_NO_EXISTS = new TaskNodeResponseCodeConst(15002, "任务节点不存在");
    public static final TaskNodeResponseCodeConst TASK_NODE_DEFECT_NAME_EXISTS = new TaskNodeResponseCodeConst(15003, "任务节点下缺陷类型已存在");
    public static final TaskNodeResponseCodeConst TASK_NODE_HAS_USED = new TaskNodeResponseCodeConst(15004, "任务节点已被使用");
    public static final TaskNodeResponseCodeConst DEFECT_TYPE_ID_NULL = new TaskNodeResponseCodeConst(15005, "缺陷类型ID为空");
    public static final TaskNodeResponseCodeConst DEFECT_TYPE_HAS_USED = new TaskNodeResponseCodeConst(15006, "缺陷类型已被使用");

    public static final TaskNodeResponseCodeConst DEFECT_TYPE_NOT_EXISTS = new TaskNodeResponseCodeConst(15007, "缺陷类型不存在");

}
